package cn.sytton.taffecloud.common.api.seata;

import feign.RequestInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * Feign Xid拦截器配置
 *
 * @author skyrock
 */
@Configuration
public class FeignXidRequestInterceptorConfig {
    @Bean
    public RequestInterceptor xidRequestInterceptor(){
        return new FeignXidRequestInterceptor();
    }
}
